Investigators seized explosive materials and other evidence at the teenager's home.
Police also intercepted chemical substances he had ordered before they could reach him, the agency and the National Public Prosecutor's Office said in a joint statement.
The investigation began after the ABW obtained information about the teenager's online contacts with neo-Nazi and fascist groups, as well as a group advocating terrorist attacks against ethnic minorities and the LGBT community.
According to investigators, the boy became increasingly radicalised through these contacts and was encouraged to carry out an attack. The facility for people with disabilities was identified as his main intended target.
The teenager was charged with preparing a terrorist attack involving explosives with the aim of killing many people.
The preparations included gathering information, communicating with other individuals through online messaging platforms and planning an attack, the ABW said.
It also said the boy had attended shooting-range sessions where he learned to handle firearms.
A juvenile court ordered him to be placed in a youth detention centre for three months. The agency said the facility would provide increased supervision.
The investigation is ongoing. ABW officers searched the homes of other people connected to the case on Thursday morning.
The agency warned that young people can be targeted by extremist groups seeking to radicalise them online, gradually exposing them to violence and encouraging them to commit violent acts.
It said the case highlighted the threat that youth radicalisation poses both to minors themselves and to public safety.
(gs)
Source: IAR/PAP